package com.mingqijia.gassafety.db.mapper;

import com.mingqijia.gassafety.db.entity.AppealLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 报警器诉求记录表 Mapper 接口
 * </p>
 *
 * @author guoliang.lao
 * @since 2023-05-17
 */
@Mapper
@Repository
public interface AppealLogMapper extends BaseMapper<AppealLog> {

    AppealLog selectByOrder(@Param("orderNo") String orderNo);

    void updateSpId();


    List<AppealLog> selectAppealDetail(@Param("alarms")List<Long> alarms, @Param("opt")int opt);
}
